package com.louis.mango.consumer.service;

import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

@Component
public class MangoProducerHystrix implements MangoProducerService{

    /**
     * 当调用服务失败的时候来到这里
     * @return
     */
    @RequestMapping("/hello")
    public String hello(){
        return "sorry ,hello service call failed";
    }

}
